<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<form id="formulario" action="<?php echo url_for('login/login') ?>" method="POST">
	<table style="width: 600px; margin: 10px auto;">
		<thead>
			<tr>
				<td></td>
				<th> Ingresar</th>
			</tr>
		</thead>
		<tbody >
			<tr>
				<td style="text-align: right;"> <?php echo $form['login']->renderLabel() ?> </td>
				<td> <?php echo $form['login']->renderError() ?> <?php echo $form['login'] ?> </td>
			</tr>
			<tr>
				<td style="text-align: right;"> <?php echo $form['password']->renderLabel() ?> </td>
				<td> <?php echo $form['password']->renderError() ?> <?php echo $form['password'] ?> </td>
			</tr>
			<tr>
				<td>  </td>
				<td> <?php if (isset($no_user)) echo $no_user ?> <?php if (isset($no_pass)) echo $no_pass ?> </td>
			</tr>
		</tbody>
		<tfoot>
			<tr>
				<td></td>
				<td> <input type="submit" value="Ingresar"> </td>
			</tr>
		</tfoot>
	</table>
</form>
